]> dgit.raspbian.org Git - gnome-shell.git/commit
status/network: Split out WirelessNetwork class
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 23 Jul 2022 23:11:32 +0000 (01:11 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 7 Aug 2022 20:41:09 +0000 (22:41 +0200)
commit4622a68100e369406f74cf86fc4f22d79671d885
treed32a058a90e5c9bf940a5df99dea625debd8ac89
parent1aa01fc8ca673534683fe21d573b9ce2db2fa136
status/network: Split out WirelessNetwork class

Different access points can belong to the same wireless network. As
NetworkManager doesn't handle this for us, we need to track networks
ourselves, and we currently do this using ad-hoc object literals and
monkey-patching.

Clean this up by factoring out a proper WirelessNetwork class, and
associate them to items with a map.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2406>
js/ui/status/network.js